﻿namespace WFDataBindingExercises
{
    partial class MainForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.countryNameTextBox = new System.Windows.Forms.TextBox();
            this.countryBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.previousCountryButton = new System.Windows.Forms.Button();
            this.nextCountryButton = new System.Windows.Forms.Button();
            this.countryGroupBox = new System.Windows.Forms.GroupBox();
            this.flagGroupBox = new System.Windows.Forms.GroupBox();
            this.flagPictureBox = new System.Windows.Forms.PictureBox();
            this.countryLanguagelabelL = new System.Windows.Forms.Label();
            this.countryNameLabel = new System.Windows.Forms.Label();
            this.countrylanguageTextBox = new System.Windows.Forms.TextBox();
            this.townsDataGridView = new System.Windows.Forms.DataGridView();
            this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.populationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.TownId = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.townsBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.deleteButton = new System.Windows.Forms.Button();
            this.editButton = new System.Windows.Forms.Button();
            this.addButton = new System.Windows.Forms.Button();
            this.reloadButton = new System.Windows.Forms.Button();
            this.saveButton = new System.Windows.Forms.Button();
            this.continentBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.continentsListBox = new System.Windows.Forms.ListBox();
            this.continentsGroupBox = new System.Windows.Forms.GroupBox();
            this.townsGroupBox = new System.Windows.Forms.GroupBox();
            ((System.ComponentModel.ISupportInitialize)(this.countryBindingSource)).BeginInit();
            this.countryGroupBox.SuspendLayout();
            this.flagGroupBox.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.flagPictureBox)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.townsDataGridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.townsBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.continentBindingSource)).BeginInit();
            this.continentsGroupBox.SuspendLayout();
            this.townsGroupBox.SuspendLayout();
            this.SuspendLayout();
            // 
            // countryNameTextBox
            // 
            this.countryNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.countryBindingSource, "Name", true));
            this.countryNameTextBox.Location = new System.Drawing.Point(67, 169);
            this.countryNameTextBox.Name = "countryNameTextBox";
            this.countryNameTextBox.Size = new System.Drawing.Size(158, 20);
            this.countryNameTextBox.TabIndex = 0;
            this.countryNameTextBox.TextChanged += new System.EventHandler(this.countryNameTextBox_TextChanged);
            // 
            // countryBindingSource
            // 
            this.countryBindingSource.DataSource = typeof(WFDataBindingExercises.Country);
            // 
            // previousCountryButton
            // 
            this.previousCountryButton.Location = new System.Drawing.Point(9, 221);
            this.previousCountryButton.Name = "previousCountryButton";
            this.previousCountryButton.Size = new System.Drawing.Size(98, 23);
            this.previousCountryButton.TabIndex = 1;
            this.previousCountryButton.Text = "<<";
            this.previousCountryButton.UseVisualStyleBackColor = true;
            this.previousCountryButton.Click += new System.EventHandler(this.previousCountryButton_Click);
            // 
            // nextCountryButton
            // 
            this.nextCountryButton.Location = new System.Drawing.Point(127, 221);
            this.nextCountryButton.Name = "nextCountryButton";
            this.nextCountryButton.Size = new System.Drawing.Size(98, 23);
            this.nextCountryButton.TabIndex = 2;
            this.nextCountryButton.Text = ">>";
            this.nextCountryButton.UseVisualStyleBackColor = true;
            this.nextCountryButton.Click += new System.EventHandler(this.nextCountryButton_Click);
            // 
            // countryGroupBox
            // 
            this.countryGroupBox.Controls.Add(this.flagGroupBox);
            this.countryGroupBox.Controls.Add(this.countryLanguagelabelL);
            this.countryGroupBox.Controls.Add(this.countryNameLabel);
            this.countryGroupBox.Controls.Add(this.countrylanguageTextBox);
            this.countryGroupBox.Controls.Add(this.countryNameTextBox);
            this.countryGroupBox.Controls.Add(this.nextCountryButton);
            this.countryGroupBox.Controls.Add(this.previousCountryButton);
            this.countryGroupBox.Location = new System.Drawing.Point(15, 147);
            this.countryGroupBox.Name = "countryGroupBox";
            this.countryGroupBox.Size = new System.Drawing.Size(231, 252);
            this.countryGroupBox.TabIndex = 3;
            this.countryGroupBox.TabStop = false;
            this.countryGroupBox.Text = "Country";
            // 
            // flagGroupBox
            // 
            this.flagGroupBox.Controls.Add(this.flagPictureBox);
            this.flagGroupBox.Location = new System.Drawing.Point(9, 19);
            this.flagGroupBox.Name = "flagGroupBox";
            this.flagGroupBox.Size = new System.Drawing.Size(216, 144);
            this.flagGroupBox.TabIndex = 5;
            this.flagGroupBox.TabStop = false;
            this.flagGroupBox.Text = "Flag";
            // 
            // flagPictureBox
            // 
            this.flagPictureBox.Location = new System.Drawing.Point(7, 20);
            this.flagPictureBox.Name = "flagPictureBox";
            this.flagPictureBox.Size = new System.Drawing.Size(203, 118);
            this.flagPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.flagPictureBox.TabIndex = 0;
            this.flagPictureBox.TabStop = false;
            // 
            // countryLanguagelabelL
            // 
            this.countryLanguagelabelL.AutoSize = true;
            this.countryLanguagelabelL.Location = new System.Drawing.Point(6, 198);
            this.countryLanguagelabelL.Name = "countryLanguagelabelL";
            this.countryLanguagelabelL.Size = new System.Drawing.Size(55, 13);
            this.countryLanguagelabelL.TabIndex = 3;
            this.countryLanguagelabelL.Text = "Language";
            // 
            // countryNameLabel
            // 
            this.countryNameLabel.AutoSize = true;
            this.countryNameLabel.Location = new System.Drawing.Point(6, 172);
            this.countryNameLabel.Name = "countryNameLabel";
            this.countryNameLabel.Size = new System.Drawing.Size(35, 13);
            this.countryNameLabel.TabIndex = 3;
            this.countryNameLabel.Text = "Name";
            // 
            // countrylanguageTextBox
            // 
            this.countrylanguageTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.countryBindingSource, "Language", true));
            this.countrylanguageTextBox.Location = new System.Drawing.Point(67, 195);
            this.countrylanguageTextBox.Name = "countrylanguageTextBox";
            this.countrylanguageTextBox.Size = new System.Drawing.Size(158, 20);
            this.countrylanguageTextBox.TabIndex = 0;
            // 
            // townsDataGridView
            // 
            this.townsDataGridView.AllowUserToAddRows = false;
            this.townsDataGridView.AllowUserToDeleteRows = false;
            this.townsDataGridView.AutoGenerateColumns = false;
            this.townsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.townsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.nameDataGridViewTextBoxColumn,
            this.populationDataGridViewTextBoxColumn,
            this.TownId});
            this.townsDataGridView.DataSource = this.townsBindingSource;
            this.townsDataGridView.Location = new System.Drawing.Point(6, 19);
            this.townsDataGridView.Name = "townsDataGridView";
            this.townsDataGridView.ReadOnly = true;
            this.townsDataGridView.Size = new System.Drawing.Size(361, 396);
            this.townsDataGridView.TabIndex = 4;
            // 
            // nameDataGridViewTextBoxColumn
            // 
            this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
            this.nameDataGridViewTextBoxColumn.HeaderText = "Name";
            this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
            this.nameDataGridViewTextBoxColumn.ReadOnly = true;
            // 
            // populationDataGridViewTextBoxColumn
            // 
            this.populationDataGridViewTextBoxColumn.DataPropertyName = "Population";
            this.populationDataGridViewTextBoxColumn.HeaderText = "Population";
            this.populationDataGridViewTextBoxColumn.Name = "populationDataGridViewTextBoxColumn";
            this.populationDataGridViewTextBoxColumn.ReadOnly = true;
            // 
            // TownId
            // 
            this.TownId.DataPropertyName = "TownId";
            this.TownId.HeaderText = "TownId";
            this.TownId.Name = "TownId";
            this.TownId.ReadOnly = true;
            this.TownId.Visible = false;
            // 
            // townsBindingSource
            // 
            this.townsBindingSource.DataMember = "Towns";
            this.townsBindingSource.DataSource = this.countryBindingSource;
            // 
            // deleteButton
            // 
            this.deleteButton.Location = new System.Drawing.Point(253, 421);
            this.deleteButton.Name = "deleteButton";
            this.deleteButton.Size = new System.Drawing.Size(114, 33);
            this.deleteButton.TabIndex = 5;
            this.deleteButton.Text = "Delete";
            this.deleteButton.UseVisualStyleBackColor = true;
            this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
            // 
            // editButton
            // 
            this.editButton.Location = new System.Drawing.Point(131, 421);
            this.editButton.Name = "editButton";
            this.editButton.Size = new System.Drawing.Size(116, 33);
            this.editButton.TabIndex = 6;
            this.editButton.Text = "Edit";
            this.editButton.UseVisualStyleBackColor = true;
            this.editButton.Click += new System.EventHandler(this.editButton_Click);
            // 
            // addButton
            // 
            this.addButton.Location = new System.Drawing.Point(6, 421);
            this.addButton.Name = "addButton";
            this.addButton.Size = new System.Drawing.Size(119, 33);
            this.addButton.TabIndex = 7;
            this.addButton.Text = "Add";
            this.addButton.UseVisualStyleBackColor = true;
            this.addButton.Click += new System.EventHandler(this.addButton_Click);
            // 
            // reloadButton
            // 
            this.reloadButton.Location = new System.Drawing.Point(15, 405);
            this.reloadButton.Name = "reloadButton";
            this.reloadButton.Size = new System.Drawing.Size(231, 33);
            this.reloadButton.TabIndex = 8;
            this.reloadButton.Text = "Reload";
            this.reloadButton.UseVisualStyleBackColor = true;
            this.reloadButton.Click += new System.EventHandler(this.reloadButton_Click);
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(14, 444);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(231, 33);
            this.saveButton.TabIndex = 8;
            this.saveButton.Text = "Save changes";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
            // 
            // continentBindingSource
            // 
            this.continentBindingSource.DataSource = typeof(WFDataBindingExercises.Continent);
            // 
            // continentsListBox
            // 
            this.continentsListBox.DataSource = this.continentBindingSource;
            this.continentsListBox.DisplayMember = "Name";
            this.continentsListBox.FormattingEnabled = true;
            this.continentsListBox.Location = new System.Drawing.Point(6, 14);
            this.continentsListBox.Name = "continentsListBox";
            this.continentsListBox.Size = new System.Drawing.Size(220, 108);
            this.continentsListBox.TabIndex = 9;
            this.continentsListBox.ValueMember = "ContinentId";
            this.continentsListBox.SelectedValueChanged += new System.EventHandler(this.continentsListBox_SelectedValueChanged);
            // 
            // continentsGroupBox
            // 
            this.continentsGroupBox.Controls.Add(this.continentsListBox);
            this.continentsGroupBox.Location = new System.Drawing.Point(13, 13);
            this.continentsGroupBox.Name = "continentsGroupBox";
            this.continentsGroupBox.Size = new System.Drawing.Size(232, 128);
            this.continentsGroupBox.TabIndex = 10;
            this.continentsGroupBox.TabStop = false;
            this.continentsGroupBox.Text = "Continents";
            // 
            // townsGroupBox
            // 
            this.townsGroupBox.Controls.Add(this.townsDataGridView);
            this.townsGroupBox.Controls.Add(this.deleteButton);
            this.townsGroupBox.Controls.Add(this.editButton);
            this.townsGroupBox.Controls.Add(this.addButton);
            this.townsGroupBox.Location = new System.Drawing.Point(255, 12);
            this.townsGroupBox.Name = "townsGroupBox";
            this.townsGroupBox.Size = new System.Drawing.Size(373, 460);
            this.townsGroupBox.TabIndex = 11;
            this.townsGroupBox.TabStop = false;
            this.townsGroupBox.Text = "Towns";
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(640, 484);
            this.Controls.Add(this.townsGroupBox);
            this.Controls.Add(this.continentsGroupBox);
            this.Controls.Add(this.saveButton);
            this.Controls.Add(this.reloadButton);
            this.Controls.Add(this.countryGroupBox);
            this.Name = "MainForm";
            this.Text = "Country towns";
            this.Load += new System.EventHandler(this.mainForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.countryBindingSource)).EndInit();
            this.countryGroupBox.ResumeLayout(false);
            this.countryGroupBox.PerformLayout();
            this.flagGroupBox.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.flagPictureBox)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.townsDataGridView)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.townsBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.continentBindingSource)).EndInit();
            this.continentsGroupBox.ResumeLayout(false);
            this.townsGroupBox.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TextBox countryNameTextBox;
        private System.Windows.Forms.Button previousCountryButton;
        private System.Windows.Forms.Button nextCountryButton;
        private System.Windows.Forms.GroupBox countryGroupBox;
        private System.Windows.Forms.Label countryLanguagelabelL;
        private System.Windows.Forms.Label countryNameLabel;
        private System.Windows.Forms.TextBox countrylanguageTextBox;
        private System.Windows.Forms.DataGridView townsDataGridView;
        private System.Windows.Forms.Button deleteButton;
        private System.Windows.Forms.Button editButton;
        private System.Windows.Forms.Button addButton;
        private System.Windows.Forms.Button reloadButton;
        private System.Windows.Forms.Button saveButton;
        private System.Windows.Forms.BindingSource continentBindingSource;
        private System.Windows.Forms.GroupBox flagGroupBox;
        private System.Windows.Forms.PictureBox flagPictureBox;
        private System.Windows.Forms.ListBox continentsListBox;
        private System.Windows.Forms.BindingSource countryBindingSource;
        private System.Windows.Forms.BindingSource townsBindingSource;
        private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn populationDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn TownId;
        private System.Windows.Forms.GroupBox continentsGroupBox;
        private System.Windows.Forms.GroupBox townsGroupBox;
    }
}

